package com.core.website.mapper;

import com.core.website.entity.Organization;
import com.core.website.entity.OrganizationUserCascadeDto;

import java.util.List;
import java.util.Map;

public interface OrganizationMapper {
    int add(Organization organization);
    int edit(Organization organization);
    int delete(List<String> ids);
    List<Organization> queryAll(Organization organization);
    List<Organization> selectStatistic();
    Organization queryById(String id);
    int checkUse(String id);
    List<OrganizationUserCascadeDto> queryCascadeUser(Map map);
}
